// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'



//引入图表样式
import './assets/css/iconfont.css'

//引入初始化样式resets.css
import './assets/css/reset.css'

//引入fastclick解决移动端300ms的延时
import FastClick from 'fastclick';
FastClick.attach(document.body)

//引入MIntUI框架
import MintUi from 'mint-ui';
import 'mint-ui/lib/style.css';
Vue.use(MintUi)

//引入AXiOS实现异步请求
import Axios from 'axios';
Axios.defaults.baseURL = 'http://localhost';
Vue.prototype.$http = Axios;


//引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
// require styles
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
